/**
 * 设置主管
 */
export const supervisorSetChildren = [
    // {
    //     label: '申请原因',
    //     formId: 'reason',
    //     tag: 'TextArea',
    //     rules: [
    //         {
    //             required: true,
    //             message: '请输入原因'
    //         }
    //     ],
    //     options: {
    //         placeholder: '请输入',
    //         disabled: true,
    //         maxLength: 4000
    //     }
    // },
    {
        label: '操作类型',
        formId: 'operationType',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false,
        inRenderDom: false
    },
    {
        label: '主管',
        formId: 'leaderName',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false,
        inRenderDom: false
    },
    {
        label: '管理机构',
        formId: 'organizationName',
        tag: 'Input',
        rules: [],
        options: {
            disabled: true
        },
        isSummary: true,
        inFormAuth: false,
        inRenderDom: false
    },
    {
        label: '申请成功跳转',
        formId: 'applySuccessUrl',
        tag: 'Input',
        rules: [],
        options: {
            initialValue: '/office/personnelManagement/organization/orgflow',
            disabled: true
        },
        inFormAuth: false,
        inRenderDom: false
    }
];

export const SupervisorSetControl = {
    label: '设置主管',
    cmpType: 'custom',
    formId: '',
    key: 'LeaderSettingApply',
    tag: 'LeaderSettingApply',
    children: supervisorSetChildren,
    proCondition: true,
    isUsed: false,
    formStyle: true
};
